(function($) {
	$.Tracker = (function() {
		var _trackers = [];
		var obj = {
			registerTracker: function(type, config) {
				var tracker = type.create(config);
				_trackers.push(tracker);
			},
			track: function(url) {
				var urlToTrack = (url == null) ? location.href : url;
				$.each(_trackers, function() {
					if ("track" in this && typeof (this.track) === "function") {
						this.track(urlToTrack);
					}
				});
			}
		};
		return obj;
	})();
})(jQuery);